﻿.transfer {
    font-size: 14px;
}

.transfer-panel {
    border: 1px solid var(--bb-border-color);
    border-radius: var(--bb-border-radius);
    overflow: hidden;
    background: #fff;
    display: inline-block;
    vertical-align: middle;
    width: 200px;
    max-height: 100%;
    box-sizing: border-box;
    position: relative;
}

    .transfer-panel.is-invalid {
        border: 1px solid #dc3545;
    }

    .transfer-panel.is-valid {
        border: 1px solid #28a745;
    }

    .transfer-panel .transfer-panel-header {
        height: 40px;
        line-height: 40px;
        background: #f5f7fa;
        margin: 0;
        padding-left: 15px;
        border-bottom: 1px solid var(--bb-border-color);
        color: #000;
    }

.transfer-panel-body {
    height: 246px;
}

.transfer-panel-list {
    margin: 0;
    padding: 6px 0;
    list-style: none;
    height: 246px;
}

    .transfer-panel-list.search {
        height: 214px;
    }

.transfer-panel-item {
    height: 30px;
    line-height: 30px;
    padding-left: 15px;
    display: block;
}

    .transfer-panel-item .form-check-input {
        margin: 7px 0;
    }

.transfer-buttons {
    display: inline-block;
    vertical-align: middle;
    padding: 0 30px;
}

    .transfer-buttons .btn {
        white-space: nowrap;
    }

        .transfer-buttons .btn:not(:first-child) {
            margin-left: 10px;
        }

    .transfer-buttons .disabled,
    .transfer-buttons .disabled:active,
    .transfer-buttons .disabled:focus,
    .transfer-buttons .disabled:hover,
    .transfer-buttons [disabled] {
        color: #fff;
        background-color: #a0cfff;
        border-color: #a0cfff;
    }

.transfer-panel-filter {
    text-align: center;
    margin: .5rem 1rem 0 1rem;
    display: block;
    width: auto;
    position: relative;
}

    .transfer-panel-filter .input-inner {
        height: 32px;
        line-height: 32px;
        width: 100%;
        display: inline-block;
        border-radius: var(--bb-border-radius);
        padding-right: 10px;
        padding-left: 30px;
        border: 1px solid #dcdfe6;
        transition: border-color .2s cubic-bezier(.645,.045,.355,1);
        color: #606266;
    }

        .transfer-panel-filter .input-inner:focus {
            outline: none;
            border-color: #409eff;
        }

    .transfer-panel-filter .input-prefix {
        height: 100%;
        width: 30px;
        transition: all .3s;
        position: absolute;
        left: 4px;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #c0c4cc;
    }

        .transfer-panel-filter .input-prefix:not(.disabled):hover i:before,
        .transfer-panel-filter .input-prefix.is-on i:before {
            cursor: pointer;
            content: "\f057";
        }

        .transfer-panel-filter .input-prefix.disabled:hover i:before {
            cursor: not-allowed;
        }

.transfer-panel-header .form-check .form-check-input {
    margin: 12px 0;
}

.transfer-panel-body .form-check-label {
    max-width: 160px;
}
